From e109894f376e46f0920b33dadd627abbe71ea110 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 10 Apr 2014 02:29:54 +0200 Subject: [PATCH] tests: Add deprecation guards --- tests/testdialog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testdialog.c b/tests/testdialog.c index 6726263321..59d76381b3 100644 --- a/tests/testdialog.c +++ b/tests/testdialog.c @@ -35,7 +35,9 @@ show_message_dialog1a (GtkWindow *parent) image = gtk_image_new_from_icon_name ("computer-fail", GTK_ICON_SIZE_DIALOG); gtk_widget_show (image); + G_GNUC_BEGIN_IGNORE_DEPRECATIONS; gtk_message_dialog_set_image (GTK_MESSAGE_DIALOG (dialog), image); + G_GNUC_END_IGNORE_DEPRECATIONS; gtk_dialog_run (GTK_DIALOG (dialog)); -- 2.30.2